package Package1;

public class StudentTest {
    public static void main(String[] args) {
        Student.schoolName = "XYZ University";
        Student student1 = new Student("John", 20, "Male", "S001");
        System.out.println(Student.number);
        Student student2 = new Student("Jane", 22, "Female", "S002");
        System.out.println(Student.number);
        System.out.println("Student 1:");
        System.out.println("Name: " + student1.getName());
        System.out.println("School Name: " + Student.schoolName);
        System.out.println("Age: " + student1.getAge());
        System.out.println("Gender: " + student1.getGender());

        Package1.Student1 student11 = new Package1.Student1();

        System.out.println("\nStudent 2:");
        System.out.println("Name: " + student2.getName());
        System.out.println("School Name: " + Student.schoolName);
        System.out.println("Age: " + student2.getAge());
        System.out.println("Gender: " + student2.getGender());

        Student1 Tstudent1 = new Student1();
        Tstudent1.setName("Tom");
        Tstudent1.setAge(21);
        Tstudent1.setGender("Male");
        Tstudent1.setStudentId("S003");
        System.out.println(Student1.number);
        Tstudent1.test1();
    }

    public static void test1(Student T){
        Student1 student1 = new Student1();
        student1.test1();
    }


}
